from api.py02_department_api import Ihrm_Department_Api
from common.assert_tools import assert_tools
from common.get_header import get_header


class Test_Department(object):
    def test_department(self):
        req_header = get_header()
        resp = Ihrm_Department_Api.department(req_header)
        print(resp.json())
        assert_tools(resp,200,10000,True,'获取组织架构数据成功')